﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTopNoiBat.ascx.cs"
    Inherits="SES.CMS.Module.ucTopNoiBat" %>
<div style="clear: both; margin-top: 0px;">
    <%--    <div class="SanPham-Tit">
        <div class="SanPham-Tita">
            <a href="/SanPham/SanPhamNoiBat/InTech.aspx">
                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Language, vSanPhamBanChay%>"></asp:Literal></a>
        </div>
    </div>--%>
    <asp:Repeater ID="rpt" runat="server" onitemcommand="rpt_ItemCommand">
        <ItemTemplate>
            <div class="SanPham-ChiTiet">
                <div style="overflow:hidden;">
                    <div class="SanPham-TT-Name">
                        <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                            <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("TenSanPham"):Eval("eTenSanPham")%>
                        </a>
                    </div>
                    <div class="AnhSP">
                        <div class="Anh-SP">
                            <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                                <img class="AnhSP-img" src="<%# "/Media/" + Eval("HinhAnh")%>" align="top" alt='<%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("eTenSanPham") %>' />
                            </a>
                        </div>
                        <%--                    <div class="Anh-SP-bot">
                        <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()):FriendlyUrl(Eval("eTenSanPham").ToString())%>'>
                            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Language, vChiTiet%>"></asp:Literal>
                        </a>
                    </div>--%>
                    </div>
                    <div class="SanPham-TT">
                        <p>
                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Language, lMa%>"></asp:Literal>:<span><%#Eval("MaSanPham")%></span></p>
                        <p>
                            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Language, vDonGia%>"></asp:Literal>:<span><%#Eval("DonGia","{0:0,0 VNĐ}")%></span></p>
                        <p>
                            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Language, vXuatXu%>"></asp:Literal>:<span><%#Eval("XuatXu")%></span></p>
                        <%--<div class="SanPham-TT-Desc">
                        <%#(bool)(Session["lang"].ToString() == "VN") ? Eval("Mota") : Eval("eMota")%>
                    </div>--%>
                    </div>
                </div>
                <div class="SanPham-DatMua">
                    <asp:ImageButton CommandArgument='<%#Eval("SanPhamID")%>' runat="server" ImageUrl="~/images/addtocart.png" ID="lbtnAddToCart" 
                        Width="100px" />
                </div>
            </div>
            <!--End .SanPham-ChiTiet-->
        </ItemTemplate>
    </asp:Repeater>
</div>
